<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            color: green;
        }
        p,
        h1,
        h2{
            background-color: grey;
        }
        a{
            display: block;
            width: 100px;
            height: 100px;
            background-color: indianred;
        }
        div a:hover{
            width: 120px;
            height: 120px;
            font-size: large;
        }
        h1{
            display: inline;
        }
    </style>
</head>
<body>
    <h3>标题</h3>
    <div>
        
        <a href="https://www.baidu.com/">裤子</a>
        <a href="https://www.baidu.com/">长裤</a>
        
        <a href="https://www.baidu.com/">衣服</a>
        <a href="https://www.baidu.com/">长袖</a><a href="https://www.baidu.com/">短袖</a>
   
    </div>

</body>
</html>